<%@page contentType="text/html;charset=UTF-8"%> 
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

	<link type="text/css" rel="stylesheet" href="../resources/css/bootstrap.min.css" />
	<link type="text/css" rel="stylesheet" href="../resources/css/style.css" />
	<script type="text/javascript" src="../resources/js/jquery.js"></script>
	<script type="text/javascript" src="../resources/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../resources/js/jquery-ui.js"></script>
	<link type="text/css" rel="stylesheet" href="../resources/css/jquery-ui.css" />
	
	<link type="text/css" rel="stylesheet" href="../resources/css/jquery.ui.timepicker.css" />
	<script type="text/javascript" src="../resources/js/jquery.ui.core.min.js"></script>
	<script type="text/javascript" src="../resources/js/jquery.ui.widget.min.js"></script>
	<script type="text/javascript" src="../resources/js/jquery.ui.tabs.min.js"></script>
	<script type="text/javascript" src="../resources/js/jquery.ui.position.min.js"></script>
	<script type="text/javascript" src="../resources/js/jquery.ui.timepicker.js"></script>
	
	<script type="text/javascript">
	function trovetrangtruoc(){
		window.history.back();
	}
	
	</script>

<a class="btn btn-primary" onclick="trovetrangtruoc()">Trở về</a>
<c:if test="${!empty listChiTietCongVanDen}">
	<table class="table table-hover">
		<tr>
			<th width="80">Mã Công Văn</th>
			<th width="80">Trích Yếu</th>
			<th width="120">File Đính Kèm</th>
			<th width="120">Ngày Nhận</th>
			<th width="120">Nơi Gửi</th>
			
		</tr>
		<c:forEach items="${listChiTietCongVanDen}" var="congvan">
			<tr>
				<td>${congvan.congvanden.idCongVanDen}</td>
				<td>${congvan.trichYeu}</td>
				<td>${congvan.fileDinhKem}</td>
				<td>${congvan.congvanden.ngayNhan}</td>
				<td>${congvan.congvanden.noiGui}</td> 
			 </tr>
		</c:forEach>
	</table>
</c:if>